<?php

namespace App\Http\Controllers\System;

use App\Criteria\System\TechValue\TechValueBaseQueryCriteria;
use App\Http\Controllers\Controller;
use App\Http\Controllers\CurlRecordMethod;
use App\Http\Requests\System\SystemTechValueRequest;
use App\Repositories\System\SystemTechValueRepository;
use App\Validators\System\SystemTechValueValidator;

class SystemTechValuesController extends Controller
{
    use CurlRecordMethod;

    protected $index_page='system.techValue.techValueMain';
    protected $add_page='system.techValue.techValueAdd';
    protected $edit_page='system.techValue.techValueEdit';

    protected $repository;
    protected $validator;
    protected $request;

    public function __construct(SystemTechValueRepository $repository, SystemTechValueValidator $validator,SystemTechValueRequest $request){
        $this->repository = $repository;
        $this->validator  = $validator;
        $this->request    = $request;
    }

    public function getBaseQueryCriteria(){
        return new TechValueBaseQueryCriteria;
    }
}
